<template>
  <div id="app">
    <el-row :gutter="20">
      <el-col :span="6">
        <div class="bg-yellow"></div>
      </el-col>
      <el-col :span="6">
        <div class="bg-red"></div>
      </el-col>
      <el-col :span="6">
        <div class="bg-yellow"></div>
      </el-col>
      <el-col :span="6">
        <div class="bg-red"></div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {},
};
</script>

<style lang="less" scoped>
.box {
  width: 100vw;
  height: 100vh;
}
.bg-yellow {
  // height: 20px;
  height: 100vh;
  width: 100%;
  background-color: yellow;
}
.bg-red {
  height: 100vh;
  width: 100%;
  background-color: red;
}
</style>
